//
//  OCClass.m
//  CPlusCallBacgOC
//
//  Created by zhukunjie on 14-5-14.
//  Copyright (c) 2014年 zhukunjie. All rights reserved.
//

#import "OCClass.h"
#include "SessionListener.h"
void OncompleteUP(char * code)
{
    NSString *str=[[NSString alloc] initWithUTF8String:code];
    NSLog(@"%@",str);
}

@implementation OCClass
+(void)sett:(char *)a
{
    NSLog(@"test%s",a);
}
void fenzhuang(char * a)
{
    [OCClass sett:a];
}
+(void)upload
{
    sessionListener * test=new sessionListener();
    if(test!=NULL)
    {
        test->OnReciMsg(OncompleteUP,"zhukunjie");
        //test->OnReciMsg(fenzhuang,"zhukunjie");
        //test->OnReciMsg((callback)[self methodForSelector:@selector(OncompleteUP:char:)],"zhukunjie");
    }
}

@end
